package cn.hchaojie.camp.day02;

public class DemoFor {
	public static void main(String[] args) {
		int sum = 0;
		
		// 初始化语句；循环条件；递增操作
		for (int i = 1; i <= 100; i++) {
			sum = sum + i;
		}
		
		System.out.println(sum);
	}
}
